package com.hoshiicloud.saleorder.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 支付订单
* </p>
*
* @author zhangshuhu
* @since 2019-06-03
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PayorderVO对象", description="支付订单")
public class PayorderDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
    * 客户订单id  来源order_info
    */
    @ApiModelProperty(value = "客户订单id  来源order_info")
    private Long orderId;
    /**
    * 流水ID  来源 paylist
    */
    @ApiModelProperty(value = "流水ID  来源 paylist")
    private Long paylistid;
    /**
    * 买家ID
    */
    @ApiModelProperty(value = "买家ID")
    private Long userid;
    /**
    * 支付订单号
    */
    @ApiModelProperty(value = "支付订单号")
    private String payorderno;
    /**
    * 1-消费 2-退款
    */
    @ApiModelProperty(value = "1-消费 2-退款")
    private Integer type;
    /**
    * 支付日期时间
    */
    @ApiModelProperty(value = "支付日期时间")
    private LocalDateTime paytime;
    /**
    * 支付金额
    */
    @ApiModelProperty(value = "支付金额")
    private BigDecimal payamount;
    /**
    * 建立人
    */
    @ApiModelProperty(value = "建立人")
    private String createdby;
    /**
    * 建立时间
    */
    @ApiModelProperty(value = "建立时间")
    private LocalDateTime createdtime;
    /**
    * 修改人
    */
    @ApiModelProperty(value = "修改人")
    private String updatedby;
    /**
    * 修改时间
    */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updatedtime;
    /**
    * 状态 1-t已成交 0-未成交
    */
    @ApiModelProperty(value = "状态 1-t已成交 0-未成交")
    private Integer status;
}
